/****************************************************************************
**
** Authors: Antonio Marcio A Menezes, Emanuel Grohs.
**
** This file is part of the Qt Board Game Framework.
**
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.LGPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/

#ifndef CONTROLER_H
#define CONTROLER_H

#include <QObject>
#include <QMap>
#include "boardgame.h"
#include "player.h"

namespace qtbf {
    class Controler;
}

class qtbf::Controler : public QObject
{
    Q_OBJECT

private:
    BoardGame *game;
    Player *player;
    QMap<QString, Player*> players;
    bool broadcast();
public:
    explicit Controler(QObject *parent = 0);
    void initializeGame();


signals:
    void sendMessageGameState(GameState *);

public slots:

};

#endif // CONTROLER_H
